package com.example.demo.controller;
import com.example.demo.model.*;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.ArrayList;
import java.util.List;

@RestController
public class HelloController {
    @GetMapping("hello")
            public String hello(){
        return "Hello World";
    }


    @GetMapping("list1")
    public List<Student> list(){
        return new ArrayList<>();
    }
}
